package org.hgvc.webapp.ets.spring.service;

import org.apache.log4j.Logger;
import org.hgvc.webapp.ets.jsf.beans.agent.AdminCommissionBean;
import org.jocsb.base.exception.BaseException;

public class SchedulerService {

	private static final Logger log = Logger.getLogger(SchedulerService.class);
	
	private MemberService memberService;
	private FinanceService financeService;
	
	public void setFinanceService(FinanceService financeService) {
		this.financeService = financeService;
	}
	public MemberService getMemberService() {
		return memberService;
	}
	public void setMemberService(MemberService memberService) {
		this.memberService = memberService;
	}

	public void autoProspectConversion()throws BaseException{
		log.debug("wake up and invoke autoProspectConversion()");
		try{
		
// commented by jimmy			
//			memberService.systemAutoProspectConversion();
//			financeService.autoSuspendUserAccount();
		}catch(Exception ex){
			ex.printStackTrace();
		}finally{
			log.debug("invoked completed autoProspectConversion()");
		}
		
	}
}
